package com.other;

public class SingletonModelTest {

	private static SingletonModelTest instance = null;
	
	private SingletonModelTest(){
	}
	
	private static synchronized void  instanceInit(){
		if(null == instance){
			instance =  new SingletonModelTest();
		}
	}
	
	public static SingletonModelTest getInstance(){
		if(null == instance){
			instanceInit();
		}
		return instance;
	}
}
